﻿using System.Collections.Generic;
using ESRI.ArcGIS.Client.Tasks;

namespace ESRI.ArcGIS.Client.Async
{
    public class FindTaskResult
    {
        /// <summary>
        /// The features returned by the FindTask.
        /// </summary>
        public List<FindResult> Results { get; private set; }

        internal FindTaskResult(FindEventArgs eventArgs)
        {
            Results = eventArgs.FindResults;
        }
    }
}